const AppMain = () =>
  import(/* webpackChunkName:"appMain" */ "@/views/AppMain");
const Home = () => import(/* webpackChunkName:"home" */ "@/views/Home");
const About = () => import(/* webpackChunkName:"about" */ "@/views/About");

export default [
  {
    path: "",
    component: AppMain,
    children: [
      {
        name: "home",
        component: Home,
        meta: {
          title: "主页",
        },
      },
      {
        name: "about",
        component: About,
        meta: {
          title: "关于",
        },
      },
    ],
  },
];
